import Vue from 'vue'
import Vuex from 'vuex'

// 引入模板
import menuData from './menuData'
import loginData from './loginData'
import headerData from './headerData'
import crumbsData from './crumbsData'
import quitData from './quitData'
import exitData from './exitData'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: { // 注册模板
    menuData,
    loginData,
    headerData,
    crumbsData,
    quitData,
    exitData
  }
})